package com.richstonedt.smartcity.xaytsccommonms.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.List;

/**
 * <b><code>FileUploadParams</code></b>
 * <p/>
 * Description 文件上传参数对象
 * <p/>
 * <b>Creation Time:</b> 2022/3/29 19:17:30
 *
 * @author tangjiahuan
 * @since xaytsc-common-be
 */
@Data
@ApiModel(value = "FileUploadParams对象", description = "文件上传参数对象")
public class FileUploadParams implements Serializable {
    /**
     * 桶名
     */
    @ApiModelProperty(value = "桶名",required = true)
    private String bucketName;

    /**
     * 系统类型
     */
    @ApiModelProperty(value = "系统类型")
    private String systemType;

    /**
     * 对象在桶内存储路径,以“/”结尾(暂定为应用名比如：xaytsc-common-be/)
     */
    @ApiModelProperty(value = "对象在桶内存储路径,以“/”结尾(暂定为应用名比如：xaytsc-common-be/)",required = true)
    private String baseUrl;

    /**
     * 文件集合
     */
    @ApiModelProperty(value = "文件集合",required = true)
    private List<MultipartFile> files;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String creator;
}
